home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000352_fdc@columbia.edu_Sun Mar 2 15:52:30 EST 2003.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
3KB
|
62 lines
Article: 14148 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc,comp.sys.next.misc
Subject: Re: kermit on *86 openstep 4.2 problem no such device
Date: 2 Mar 2003 15:51:17 -0500
Organization: Columbia University
Lines: 45
Message-ID: <b3tqs5$259$1@watsol.cc.columbia.edu>
References: <b3tg6a$qrv$1@panix2.panix.com> <b3tjrv$q46$1@watsol.cc.columbia.edu> <b3tols$sf5$1@panix2.panix.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1046638278 8827 128.59.39.139 (2 Mar 2003 20:51:18 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 2 Mar 2003 20:51:18 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14148 comp.sys.next.misc:56770
In article <b3tols$sf5$1@panix2.panix.com>, Dan Hitt <hitt@panix.com> wrote:
: Thanks for your very speedy response, which i've quoted in its
: entirety below, because i don't know what i could cut without losing
: context. Thanks for the references, which i've just read.
:
: I thought about the permission issues, so i changed the permissions
: for all the devices i tried:
: > ls -l /dev/cua /dev/cub /dev/ttya /dev/ttyb
: crw-rw-rw- 1 uucp 11,192 Apr 17 1997 /dev/cua
: crw-rw-rw- 1 uucp 11,193 Apr 17 1997 /dev/cub
: crw-rw-rw- 1 root 11, 0 Apr 17 1997 /dev/ttya
: crw-rw-rw- 1 root 11, 1 Apr 17 1997 /dev/ttyb
:
: Now, in order to follow your suggestion of figuring out which device
: it is, i wrote a little c program which opens devices if possible and
: prints out the error code and message when it's not possible. It
: typically gives either error 13 (`Permission denied') or error 19 (`No
: such device') [or else it opens successfully].
:
: For /dev/cua, /dev/cub, /dev/ttya, /dev/ttyb it gives error 19
: (`No such device'), and i imagine that's also what kermit is facing.
:
: So i suppose that somehow i need to make there be such a device,
: but i have no clues how. In the /dev directory, the command
: ./MAKEDEV cua
: returns uneventfully (status 0), but /dev/cua still cannot
: be opened (error 19, `No such device').
:
I'll stand aside for somebody who might still remember something about
OpenSTEP. I've never actually had any direct contact with it, but it
should be a lot like NeXTSTEP:
http://www.columbia.edu/kermit/ckubwr.html#x3.4
I had a NeXT on my desk for some years and never had any trouble with
locating and identifying the cua or cub device so I don't have a clue.
You're probably on the right track with makedev, but I wouldn't presume
to offer advice about that! Also, since it's an x86, of course you also
have the pleasure of dealing with the IRQs, device address, interrupt
conflicts, etc. I have no idea how that is done in OpenSTEP.
Just for fun I'm adding comp.sys.next.misc to this thread in case
there's anybody still there.
- Frank